package cn.toys.modular.mapper;

import cn.toys.modular.entity.CompanyUser;
import cn.toys.modular.entity.CompanyUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CompanyUserMapper {
    long countByExample(CompanyUserExample example);

    int deleteByExample(CompanyUserExample example);

    int insert(CompanyUser record);

    int insertSelective(CompanyUser record);

    List<CompanyUser> selectByExampleSelective(@Param("example") CompanyUserExample example, @Param("selective") CompanyUser.Column ... selective);

    CompanyUser selectOneByExample(CompanyUserExample example);

    CompanyUser selectOneByExampleSelective(@Param("example") CompanyUserExample example, @Param("selective") CompanyUser.Column ... selective);

    List<CompanyUser> selectByExample(CompanyUserExample example);

    int updateByExampleSelective(@Param("record") CompanyUser record, @Param("example") CompanyUserExample example);

    int updateByExample(@Param("record") CompanyUser record, @Param("example") CompanyUserExample example);
}